<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04运算符</title>
</head>
<body>
<script>
    console.log(3>10);
    console.log('3'>10);
    console.log(3>'10');
    console.log('3'>'10');
    console.log('汪'>'周');
    console.log('汪'.charCodeAt());
    console.log('周'.charCodeAt());
    let a=1;
    let b=true;
    //松散比较运算符，只比较值Number(true)=1
    console.log(a==b);
    //严格比较运算符，先比较类型，再比较值number≠boolean
    console.log(a===b);
</script>
</body>
</html>